package 预习;

public class 闰年 {
    public static void main(String[] args) {
        for (int year = 1988; year <= 2019; year++) {
            if ((year % 4 == 0 && year % 100 != 0) || year % 400 == 0) {
                System.out.println(year + "是闰年");
            } else {

            }
        }
    }
}
